package com.tanhua.common.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

public enum UserStatus implements IEnum<Integer> {

    NORMAL(1,"1"),
    FREEZE(2,"2");

    private int value;

    private String desc;

    UserStatus(int value,String desc){
        this.value=value;
        this.desc=desc;
    }
    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String toString() {
        return this.desc;
    }

}
